package org.example.resource;

import java.util.Random;

public class HelloServiceImpl implements HelloService{
	@Override
	public String hello(String name) {
		Random random=new Random();
		double nextDouble = random.nextDouble();
		if (nextDouble<0.9){
			return "Hello, "+name+" !";
		}
		else {
			return "Fuck you, "+name+" !";
		}
	}
}
